/**
 * edurender
 * RenderState.h
 * (c) 2009 J. Brad Byrd
 */

#ifndef ER_RENDERSTATE_H
#define ER_RENDERSTATE_H

#include <d3dx10.h>

namespace er
{
	class RenderState
	{
	public:
		RenderState();
	
	public:
		const D3DXMATRIX &GetWorldMatrix() const { return m_world; }
		void SetWorldMatrix(const D3DXMATRIX &world) { m_world = world; }
		
		const D3DXMATRIX &GetViewMatrix() const { return m_view; }
		void SetViewMatrix(const D3DXMATRIX &view) { m_view = view; }
		
		const D3DXMATRIX &GetProjectionMatrix() const { return m_proj; }
		void SetProjectionMatrix(const D3DXMATRIX &projection) { m_proj = projection; }
	
	private:
		D3DXMATRIX m_world;
		D3DXMATRIX m_view;
		D3DXMATRIX m_proj;	
	};
}

#endif // ER_RENDERSTATE_H
